package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADAppNetworkDao;
import com.letfox.ad.model.ADAppNetwork;
import com.letfox.ad.service.ADAppNetworkService;

@Service
public class ADAppNetworkServiceImpl implements ADAppNetworkService{
	
	@Autowired
	private ADAppNetworkDao adAppNetworkDao;

	@Override
	public int deleteByPrimaryKey(Long adNetworkId) {
		return adAppNetworkDao.deleteByPrimaryKey(adNetworkId);
	}

	@Override
	public int insert(ADAppNetwork record) {
		return adAppNetworkDao.insert(record);
	}

	@Override
	public ADAppNetwork selectByPrimaryKey(Long adNetworkId) {
		return adAppNetworkDao.selectByPrimaryKey(adNetworkId);
	}

	@Override
	public int updateByPrimaryKey(ADAppNetwork record) {
		return adAppNetworkDao.updateByPrimaryKey(record);
	}

}
